#pragma once

#include <windows.h>
#include <string>
using std::string;

class CFrame
{
private:
	string m_szTrigger;
	RECT m_rImageRect;
	RECT m_rCollisionRect;
	float m_fFrameDuration;
	int m_nArmPosX;
	int m_nArmPosY;
	int m_nAnchorPosX;
	int m_nAnchorPosY;

public:
	CFrame(void) {}
	~CFrame(void) {}

	//Acessors
	string GetTrigger() {return m_szTrigger;}
	RECT GetImageRect() {return m_rImageRect;}
	RECT GetCollRect() {return m_rCollisionRect;}
	float GetDuration() {return m_fFrameDuration;}
	int GetArmX() {return m_nArmPosX;}
	int GetArmY() {return m_nArmPosY;}
	int GetAnchorX() {return m_nAnchorPosX;}
	int GetAnchorY() {return m_nAnchorPosY;}

	//Mutators
	void SetTrigger(string szTrigger) {m_szTrigger = szTrigger;}
	void SetImageRect(RECT rImageRect) {m_rImageRect = rImageRect;}
	void SetCollRect(RECT rCollRect) {m_rCollisionRect = rCollRect;}
	void SetDuration(float fFrameDuration) {m_fFrameDuration = fFrameDuration;}
	void SetArmX(int nArmPosX) {m_nArmPosX = nArmPosX;}
	void SetArmY(int nArmPosY) {m_nArmPosY = nArmPosY;}
	void SetAnchorX(int nAnchorPosX) {m_nAnchorPosX = nAnchorPosX;}
	void SetAnchorY(int nAnchorPosY) {m_nAnchorPosY = nAnchorPosY;}


	
};
